<template>
    <div>
        <!-- 面包屑 -->
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>{{level}}</el-breadcrumb-item>
            <el-breadcrumb-item>{{level2}}</el-breadcrumb-item>
        </el-breadcrumb>
        <br>
        <!-- 面包屑 -->
    </div>
</template>

<script>
export default {
  props: {
    level: {
      type: String,
      default: "一级标题"
    },
    level2: {
      type: String,
      default: "二级标题"
    }
  },
  data() {
    return {};
  },
  mounted() {},
  methods: {}
};
</script>

<style scoped >
</style>
